package com.pet.shop.entity.product;

import com.pet.shop.entity.IBaseEntity;

import java.util.Date;

public class ProductPic implements IBaseEntity {
    private static final long serialVersionUID = -5254815232222728290L;

    private Long id;
    private String name;
    private String path;
    private Long typeId;
    private Long productId;
    private Long creatorId;
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public void setModifierId(Long modifierId) {

    }

    @Override
    public void setModifyTime(Date modifyTime) {

    }
}